﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Masterpages/Main.master" AutoEventWireup="true" CodeFile="UploadDocumentsOthers.aspx.cs" Inherits="User_Shares_UploadDocumentsOthers" %>

<%@ Register src="../../Controls/FileUpload/MultipleFileUpload.ascx" tagname="multiplefileupload" tagprefix="uc1" %>

<%@ Register src="../../Controls/ContentHolder/Holder1.ascx" tagname="Holder1" tagprefix="uc2" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" Runat="Server">
    <style type="text/css">
        .style1
        {
            width: 100%;
        }
    </style>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
        <uc2:Holder1 ID="Holder11" runat="server" Title="ارسال مدارک">
        <ContentTemplate>
        
        <table class="style1">
        <tr>
            <td>
          
            </td>
        </tr>
        <tr>
            <td>
   
       

        
        <asp:MultiView runat="server" ID="MultiViewothers" ActiveViewIndex="0">
<asp:View ID="View4" runat="server">

            <table class="style1">
                <tr>
                    <td>
                        <asp:Label ID="Label1" runat="server"></asp:Label>
                    </td>
                    <td>
                   <%--     <asp:GridView ID="GridViewOthers" runat="server" AutoGenerateColumns="False" 
                            CellPadding="4" CssClass="MainObject" DataKeyNames="ID" 
                            EnableModelValidation="True" ForeColor="#333333" GridLines="None" 
                            onrowcommand="GridViewOthers_RowCommand" 
                            onrowdatabound="GridViewOthers_RowDataBound" 
                            onselectedindexchanged="GridViewOthers_SelectedIndexChanged">
                            <AlternatingRowStyle BackColor="White" ForeColor="#284775" />
                            <Columns>
                                <asp:BoundField DataField="ID" HeaderText="کد قراداد" Visible="False" ItemStyle-Width="100" />
                                <asp:BoundField DataField="ContractDate" HeaderText="تاریخ قراداد" ItemStyle-Width="100"/>
                                <asp:BoundField DataField="ContractNumber" HeaderText="شماره قراداد" ItemStyle-Width="100"/>
                                <asp:BoundField DataField="VillageId" HeaderText="نام روستا" ItemStyle-Width="100"/>
                                <asp:ButtonField CommandName="Select" Text="انتخاب" ItemStyle-Width="100"/>
                            </Columns>
                            <EditRowStyle BackColor="#999999" />
                            <FooterStyle BackColor="#5D7B9D" Font-Bold="True" ForeColor="White" />
                            <HeaderStyle BackColor="#5D7B9D" Font-Bold="True" ForeColor="White" />
                            <PagerStyle BackColor="#284775" ForeColor="White" HorizontalAlign="Center" />
                            <RowStyle BackColor="#F7F6F3" ForeColor="#333333" />
                            <SelectedRowStyle BackColor="#E2DED6" Font-Bold="True" ForeColor="#333333" />
                        </asp:GridView>--%>
                        <asp:GridView ID="GridViewOthers" runat="server" AutoGenerateColumns="False" 
                            CellPadding="4" CssClass="MainObject" DataKeyNames="ID" 
                            EnableModelValidation="True" ForeColor="#333333" GridLines="None" 
                            onrowcommand="GridViewOthers_RowCommand" 
                            onrowdatabound="GridViewOthers_RowDataBound"  onselectedindexchanged="GridViewOthers_SelectedIndexChanged"
                            EmptyDataText="هیچ قرادادی برای فرد یا روستای مورد نظر شما یافت نشد." 
                            >
                            <AlternatingRowStyle BackColor="White" ForeColor="#284775" />
                            <Columns>
                              <asp:BoundField DataField="ContractNumber" HeaderText="شماره قرارداد" 
                                                ItemStyle-Width="100" ItemStyle-Height="50">
                                            <ItemStyle Height="50px" Width="100px" />
                                            </asp:BoundField>
                                            <asp:BoundField DataField="ContractDate" HeaderText="تاریخ قرارداد" 
                                                ItemStyle-Width="100" ItemStyle-Height="50">
                                            <ItemStyle Height="50px" Width="100px" />
                                            </asp:BoundField>
                                            <asp:BoundField DataField="AdvisorName" HeaderText="نام مشاور" 
                                                ItemStyle-Width="100" ItemStyle-Height="50">
                                            <ItemStyle Height="50px" Width="100px" />
                                            </asp:BoundField>
                                            <asp:BoundField DataField="ContractType" HeaderText="نوع قراداد" 
                                                ItemStyle-Width="100" ItemStyle-Height="50" >
                                            <ItemStyle Height="50px" Width="100px" />
                                            </asp:BoundField>
                                            <asp:BoundField DataField="Year" HeaderText="سال قراداد" ItemStyle-Width="100" 
                                                ItemStyle-Height="50">
                                            <ItemStyle Height="50px" Width="100px" />
                                            </asp:BoundField>
                                   
                                       
                                            <asp:BoundField HeaderText="روستا" />
                                            <asp:BoundField HeaderText="دهستان" />
                                            <asp:BoundField HeaderText="بخش" />
                                            <asp:BoundField HeaderText="شهرستان" />
                                                 <asp:BoundField DataField="UserId" />
                                                     <asp:BoundField DataField="ID" Visible="False" />
                                                              <asp:BoundField DataField="VillageId"  />
                                                                  <asp:BoundField  Visible="False" />
                                <asp:ButtonField CommandName="Select" Text="انتخاب" ItemStyle-Width="100" />
                               <%-- <asp:TemplateField HeaderText="بخش">
                                <ItemTemplate>
                                    <asp:Label ID="Label5" runat="server" Text="Label"></asp:Label>
                                </ItemTemplate>
                                </asp:TemplateField>
                                <asp:TemplateField HeaderText="دهستان"></asp:TemplateField>
                                <asp:TemplateField HeaderText="شهرستان"></asp:TemplateField>--%>
                            </Columns>
                           <EditRowStyle BackColor="#999999" />
                                        <FooterStyle BackColor="#5D7B9D" Font-Bold="True" ForeColor="White" />
                                        <HeaderStyle BackColor="#5D7B9D" Font-Bold="True" ForeColor="White" />
                                        <PagerStyle BackColor="#284775" ForeColor="White" HorizontalAlign="Center" />
                                        <RowStyle BackColor="#CCCCFF" ForeColor="#333333" />
                                        <SelectedRowStyle BackColor="#E2DED6" Font-Bold="True" ForeColor="#333333" />
                        </asp:GridView>
                    </td>
                </tr>
            </table>

        </asp:View>
<asp:View ID="View5" runat="server">

                        <table class="style1">
                            <tr>
                                <td colspan="2">
                                    <asp:Label ID="Label17" runat="server" Text="شماره قرارداد :   "></asp:Label>
                                 <div dir="rtl" style="width: auto">     <asp:Label ID="LblConNum0" runat="server" Font-Size="10pt"></asp:Label></div>
                                </td>
                                <td>
                                    <asp:Label ID="Label18" runat="server" Text=" نام روستا :   "></asp:Label>
                                 <div dir="rtl" style="width: auto">     <asp:Label ID="lblvilname0" runat="server" Font-Size="10pt" Text="Label"></asp:Label></div>
                                </td>
                                <td >
                                <div dir="rtl" style="width:100px"></div>
                                </td>
                                <td >
                                    <asp:Label ID="Label19" runat="server" Text="تاریخ قرارداد :  "></asp:Label>
                                   <div dir="rtl" style="width: auto">   <asp:Label ID="LblDate0" runat="server" Font-Size="10pt"></asp:Label></div>
                                </td>
                            </tr>
                            <tr>
                                <td>
                                <br />
                                
                                    <asp:Label ID="Label21" runat="server" Text=" : توضیحات این مرحله" Width="100px"></asp:Label>
                                </td>
                                <td colspan="3">
                                    <asp:Label ID="LblDesc" runat="server" Font-Names="tahoma" Font-Size="Smaller"></asp:Label>
                                </td>
                            </tr>
                             <tr>
                                <td>
                                  <br />
                                      <br />
                                          <br />
                                </td>
                                <td colspan="3">
                                   
                                </td>
                            </tr>
                            <tr>
                                <td colspan="2">
                                    <uc1:MultipleFileUpload ID="MultipleFileUpload3" runat="server" 
                                        OnClick="Multifileupload3_click" />
                                </td>
                                <td colspan="2">
                                <div class="MainObject" dir="rtl">
                                    <asp:DataList ID="DataList2" runat="server" 
                                        CellPadding="4" onselectedindexchanged="DataList2_SelectedIndexChanged" 
                                        DataKeyField="ID" HorizontalAlign="Left" CaptionAlign="Left" 
                                        ForeColor="#333333">
                                        <AlternatingItemStyle BackColor="White" ForeColor="#284775" />
                                        <EditItemStyle HorizontalAlign="Left" VerticalAlign="Bottom" />
                                        <FooterStyle BackColor="#5D7B9D" ForeColor="White" Font-Bold="True" />
                                        <HeaderStyle BackColor="#5D7B9D" Font-Bold="True" ForeColor="White" />
                                        <HeaderTemplate>
                                            لیست مراحل
                                        </HeaderTemplate>
                                        <ItemStyle HorizontalAlign="Left" BackColor="#F7F6F3" ForeColor="#333333" 
                                            Font-Size="10pt" />
                                        <ItemTemplate>
                                            <asp:LinkButton ID="LinkButton1" runat="server" Text='<%# Eval( "Name" ) %>' 
                                               CausesValidation="False" CommandName="Select" ForeColor="Black"></asp:LinkButton>
                                            <asp:Label ID="LabelID" runat="server" Text='<%# Eval( "ID" ) %>' Visible="False"></asp:Label>
                                        </ItemTemplate>
                                        <SelectedItemStyle BackColor="#FFCCFF" Font-Bold="True" ForeColor="#333333" />
                                    </asp:DataList>
                                    </div>
                                </td>
                            </tr>
                            <tr>
                                <td>
                                    &nbsp;</td>
                                <td>
                                    <asp:Label ID="Lblstatus" runat="server"></asp:Label>
                                </td>
                                <td colspan="2">
                                    &nbsp;</td>
                            </tr>
                            <tr>
                                <td colspan="2">
                                    <asp:Button ID="Button5" runat="server" CssClass="MainObject" Height="30px" 
                                        onclick="Button5_Click" style="margin-right: 0px" 
                                        Text=" تایید نهایی پایان  مرحله" Width="258px" />
                                </td>
                                <td colspan="2">
                                    <asp:Button ID="Button7" runat="server" CssClass="MainObject" Height="32px" 
                                        onclick="Button7_Click" Text="بازگشت به لیست پروژه ها" Width="174px" />
                                </td>
                            </tr>
                        </table>

                        </asp:View>
        </asp:MultiView>
        

   
            </td>
        </tr>
    </table>
    </ContentTemplate>
        </uc2:Holder1>
    
</asp:Content>

